package com.whjk.safework.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import cn.hutool.core.date.DateTime;
import lombok.Data;

@Table("t_worker_target")
@Data
public class WorkerTargetVo {

    @Id(keyType = KeyType.Auto)
    private Long id;

    private Long    safetarget_id;
    private Integer year;
    private String  file_json;
    private Long    worker_id;

    private Long    target_id;
    private String  target_str;

    private Long    dutyinfo_id;
    private String  dutyinfo_str;

    private Long    plan_id;
    private String  plan_str;

    private Long    check_id;
    private String  check_str;

    private String  check_pc;
    private String  check_standard;

    private Long    check_result;
    private Long    pass_id;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public  DateTime    create_time;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public  DateTime    pass_time;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public  DateTime    start_time;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public  DateTime    end_time;

    private Long    kind_id;

}
